Where
-Infinity
0

Vendor Risk Score

See how squashfs-tools project compares to other vendors in security performance

View Risk Score →
Severity
8.1
Path Traversal
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

A squashfs filesystem that has been crafted to include a symbolic link and then contents under the same filename in a filesystem can cause unsquashfs to first create the symbolic link pointing outside the expected directory, and then the subsequent write operation will cause the unsquashfs process to write through the symbolic link elsewhere in the filesystem.

Upstream Issue:

https://github.com/plougher/squashfs-tools/issues/72#issuecomment-913833405

1 / 2
Source: Red Hat
First published (updated )
Severity
8.1
Path Traversal
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

squashfsopendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename in the directory entry; this is then used by unsquashfs to create the new file during the unsquash. The filename is not validated for traversal outside of the destination directory, and thus allows writing to locations outside of the destination.

1 / 2
First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203